<%-- 
    Document   : registerprocess
    Created on : 16 Jan, 2011, 1:26:51 AM
    Author     : Home
--%>


<%@ page language="java" %>
<%@ page import="java.util.*" %>
<%@ page import="java.sql.*" %>
<%!
%>
<jsp:useBean id="registerHandler" class="test.RegisterFormBean" scope="request">
<jsp:setProperty name="registerHandler" property="*"/>
</jsp:useBean>
<%
if (registerHandler.validate()&&registerHandler.match()) {
%>
<%

%>

<jsp:forward page="registersuccess.jsp"/>


<%
} else {
%>
<jsp:forward page="register.jsp"/>
<%
}
%>